package com.jinbei.service;

import com.jinbei.domain.Course;

/**
 * @author zflu
 * Created by lucky on 2018/8/7.
 */
public interface CourseService {

    /**
     * @author zflu
     * @Description   活动课程新增
     * @date 2018/8/7 16:21
     * @param course
     * @return int
     */
    int insertCourse(Course course) throws Exception;
    
    /**   
     * @author zflu
     * @Description   活动课程修改
     * @date 2018/8/7 16:22  
     * @param course  
     * @return int  
     */ 
    int updateCourse(Course course) throws Exception;
    
    /**   
     * @author zflu
     * @Description   活动课程删除
     * @date 2018/8/7 16:23  
     * @param type
     * @return int  
     */ 
    int deleteCourseByType(String type) throws Exception;

    /**
     * @author zflu
     * @Description   课程活动查询
     * @date 2018/8/7 16:24
     * @param type
     * @return com.jinbei.domain.Course
     */
    Course queryCourseByType(String type) throws Exception;


}
